package com.job.search.service;

import com.job.client.common.result.ResponseResult;
import com.job.client.model.company.pojo.Company;
import com.job.client.model.posts.dto.PostsEsDto;
import com.job.client.model.posts.pojo.Posts;
import com.job.search.dto.PostsSearchDto;

import java.util.List;

public interface SearchPostsService {
    ResponseResult addPosts(PostsEsDto posts);

    ResponseResult getById(String companyId);

    ResponseResult blkAddPosts(List<PostsEsDto> postsEsDtoList);

    ResponseResult deleteById(String postsId);

    ResponseResult modifyPartialById(PostsEsDto posts);

    ResponseResult search(PostsSearchDto dto);

    ResponseResult searchHighlight(PostsSearchDto dto);
}
